import request from '@/utils/request'

// 查询出院时间修改log记录列表 (分页)
export function selectPagePatDischargeLog(query) {
    return request({
        url: '/business/patDischargeLog/selectPage',
        method: 'get',
        params: query
    })
}

// 查询出院时间修改log记录列表 (不分页)
export function listPatDischargeLog(query) {
    return request({
        url: '/business/patDischargeLog/list',
        method: 'get',
        params: query
    })
}

// 查询出院时间修改log记录详细
export function getPatDischargeLog(dischargeLogId) {
    return request({
        url: '/business/patDischargeLog/' + dischargeLogId,
        method: 'get'
    })
}

// 新增出院时间修改log记录
export function addPatDischargeLog(data) {
    return request({
        url: '/business/patDischargeLog',
        method: 'post',
        data: data
    })
}

// 修改出院时间修改log记录
export function updatePatDischargeLog(data) {
    return request({
        url: '/business/patDischargeLog',
        method: 'put',
        data: data
    })
}

// 删除出院时间修改log记录
export function delPatDischargeLog(dischargeLogId) {
    return request({
        url: '/business/patDischargeLog/' + dischargeLogId,
        method: 'delete'
    })
}
